<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div id="log"></div>
<ol>225</ol><summary style="height: 10px"></summary>
<script>
test(function() {
    document.execCommand('SelectAll');
    var tailNode = document.createElement('div');
    tailNode.appendChild(document.createTextNode('foo'));
    document.body.appendChild(tailNode);
    document.execCommand('Copy');
});
</script>
